#ifndef __MY_GEME__
#define __MY_GAME__

#ifdef __cplusplus
extern "C" {
#endif

#include "lvgl.h"
#include "S_UART.h"
#include "map_fs.h"
#include "taskManager.h"
#include <stdlib.h>
#include "map_backup.h"

#define USER_DEBUG 1
#define __MAP_TEST 0

extern Box my_box;

void mygame_init();
int mygame_loadmap(Box* plist);
void delete_GamePage();//删除游戏界面
void refresh_GamePage();//游戏reset

#ifdef __MAP_TEST
void mygame_maptest(Level* p);
#else
void mygame_maptest(Level* p);
#endif

#ifdef __cplusplus
} /* extern "C" */
#endif

#endif